<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./base.css">
    <style>
        .bd-main .bd-go{
            display: block;
            margin: 0 auto;
            margin-top: 100px;
            padding-top: 120px;
            width: 600px;
            background-image: url(./images/bd-banner.png);
            background-repeat: no-repeat;
            background-size: 251px 120px;
            background-position: center top;
        }
        .bd-form{
            border-radius: 20px;
            height: 50px;
            margin-top: 40px;
            position: relative;
        }
        .bd-input{
            width: 100%;
            display: block;
            height: 100%;
            border: none;
            outline: none;
            background-color: transparent;
            font-size: 20px;
            padding-left: 15px;
            box-sizing: border-box;
            border: 2px solid #2932e1;
            border-radius: 20px;
        }
        .bd-submit{
            width: 100px;
            height: 100%;
            color: #ffffff;
            background-color: #2932e1;
            box-sizing: border-box;
            position: absolute;
            right: 0;
            top: 0;
            z-index: 1;
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px;
            border: none;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <div class="bd-main">
        <form class="bd-go" action="https://www.baidu.com/s" method="get" target="_blank">
            <div class="bd-form">
                <input class="bd-input"  name="wd" placeholder="百度一下，你就知道" value="" />
                <button class="bd-submit" type="submit">百度一下</button>
            </div>
        </form>
    </div>
</body>
</html>